<?php
namespace App\Module\Admin\Service;

use App\Model\Admin;

class AdminService {

    public function getByUsername($username){
        return Admin::query()->where("username",$username)->first();
    }
}